﻿namespace MQTTServer.Models
{
    /// <summary>
    /// 获取抓拍场景图返回
    /// </summary>
    public class GetSceneSnapAck
    {
        /// <summary>
        ///  获取抓拍场景图返回
        /// </summary>
        public string Operator { get; set; }

        /// <summary>
        /// 消息 id,区分每一条消
        /// </summary>
        public string MessageId { get; set; }

        /// <summary>
        ///  GetSceneSnapAckInfo
        /// </summary>
        public GetSceneSnapAckInfo Info { get; set; }
    }

    public class GetSceneSnapAckInfo
    {
        /// <summary>
        /// 一体机设备号 id,返回值
        /// </summary>
        public string? FacesluiceId { get; set; }
        /// <summary>
        /// 操作结果
        /// </summary>
        public string? Result { get; set; }
        /// <summary>
        /// 当 result 为“fail”时，错误信息
        /// </summary>
        public string? detail { get; set; }
        /// <summary>
        /// ImgType=2 时必填，压缩的图片质 量(默认:55)
        /// </summary>
        public ImgType ImgType { get; set; }
        /// <summary>
        /// 返回的抓拍图片 Base64 数据
        /// </summary>
        public string ImgData { get; set; }
    }
}